using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using DevExpress.Web.ASPxGridView;
using DevExpress.Web.ASPxEditors;
using Indeco.G24.Web;
using Indeco.G24.Data;
using Indeco.G24.Services;
using Indeco.G24.Entities; 
namespace Indeco.G24.Website.News.Admin
{
    public partial class TinTucChuDe :G24Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ASPxGridView2_RowInserting(object sender, DevExpress.Web.Data.ASPxDataInsertingEventArgs e)
        {
            ASPxGridView grid = sender as ASPxGridView; 
            e.NewValues["ThoiDiemCapNhat"] = DateTime.Now;
            e.NewValues["ThoiDiemChinhSua"] = DateTime.Now;
        }

        protected void ASPxGridView2_RowUpdating(object sender, DevExpress.Web.Data.ASPxDataUpdatingEventArgs e)
        {
            ASPxGridView grid = sender as ASPxGridView;          
            e.NewValues["ThoiDiemCapNhat"] = DateTime.Now;
            e.NewValues["ThoiDiemChinhSua"] = DateTime.Now;
        }

        protected void ASPxGridView2_RowDeleting(object sender, DevExpress.Web.Data.ASPxDataDeletingEventArgs e)
        {

        }
    }
}
